<?php

use yii\db\Migration;

class m161031_063013_update_user extends Migration
{
    public function up()
    {
      $this->alterColumn('kd_user','mobile',$this->string(20)->comment('手机'));
    }

    public function down()
    {


        $this->alterColumn('kd_user','mobile',$this->integer(11)->comment('手机'));
    }

    /*
    // Use safeUp/safeDown to run migration code within a transaction
    public function safeUp()
    {
    }

    public function safeDown()
    {
    }
    */
}
